package com.zcy.basic.annotation;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * <p>
 *
 * </p>
 *
 * @author lucker
 * @date 2023/12/1 11:41
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface PermissionApi {

    /**
     * 权限名称
     */
    String name();

    /**
     * 权限描述
     */
    String description() default "";

}
